package edu.yzu.testspringboot002.po.dto;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;


import java.io.Serializable;

/**
 * 密码更新dto
 *
 * @author yulang
 * @date 2023-12-21
 */
@Data
public class PasswordUpdateDTO implements Serializable {

    private static final long serialVersionUID = -2885640568533838281L;


    @NotBlank(message = "新密码不能为空")
    private String newPassword;


    @NotBlank(message = "原始密码不能为空")
    private String password;
}
